package com.design.absfactory.impl;

import com.design.absfactory.inter.Cpu;

/**
 * Created by Administrator on 2016/8/27.
 */
public class IntelCpu implements Cpu {

    private int pins = 0;

    public IntelCpu(int pins) {
        this.pins = pins;
    }

    @Override
    public void calculate() {
        System.out.println("Intel Cpu pins = " + pins);
    }
}
